package com.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/13 21:32
 * @since JDK 1.8
 *
 * 提供负载均衡
 */
@RequestMapping("test")
@RestController
public class ProviderController {

    @GetMapping("provider")
    public String provider1Controller(){
        return "provider==>2";
    }
}
